from django.contrib import admin
from FirstBlog import models
# Register your models here.
#class ArticleAdmin(admin.ModelAdmin):
 #   list_display = ('title','content','pub_time')
  #  list_filter = ('pub_time',)
#admin.site.register(models.Article,ArticleAdmin)
class ArticleAdmin(admin.ModelAdmin):
    list_display = ('title','content',)
admin.site.register(models.Article,ArticleAdmin)